﻿CREATE TABLE [dbo].[Payments] (
    [Id]          INT            IDENTITY (1, 1) NOT NULL,
    [CategoryId]  INT            NOT NULL,
    [Amount]      DECIMAL (18)   NOT NULL,
    [AccountId]   INT            NOT NULL,
    [Description] NVARCHAR (255) NULL,
    [UserId]      INT            NOT NULL,
    [DateTime]    DATETIME       NOT NULL,
    [TargetId]    INT            NULL
);

